package com.dbpms.pj.sys.service;

import com.dbpms.pj.common.pojo.PageObject;
import com.dbpms.pj.sys.pojo.SysUser;
import com.dbpms.pj.sys.pojo.SysUserDept;

import java.util.List;
import java.util.Map;

/**
 * @Author: Song Yu
 * @Date: 2020/10/20 19:08
 */
public interface SysUserService {
    PageObject<SysUserDept> findPageObjects(String username, Integer pageCurrent);

    int updateValidById(Integer id, Integer valid);

    Map<String,Object> findObjectById(Integer id);

    int saveObject(SysUser entity,Integer[] roleIds);

    int updateObject(SysUser entity,Integer[] roleIds);


}
